package cn.xiaozhi0802.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Administrator
 *
 */
@Controller
public class HelloController {
    @RequestMapping(value="/hello",method = {RequestMethod.GET},params = {"username"})
    public String sayHello(){
        System.out.println("Hello StringMVC");
        return "success";
    }
}

